import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex);

import mutations from './mutations'
import actions from './actions'
import getters from './getters'

var state = {
    loginName: 'tds001',
    loginPassWord: '123456',
    token: '',
    userInfo: {},
    divContentTop: '16%',
    divContentMinTop: '8%',
    config: {
        resourceURL: 'http://192.168.1.101:8084'
    }

}

export default new Vuex.Store({
    state,
    mutations,
    getters,
    actions,
    strict: false
});